/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86136
 * Date: 2024-05-24
 * Time: 22:11
 */
class A{
    public int a = 1;

    public A(){
        fuc();
    }
    public void fuc() {
        System.out.println("A.fuc()");
    }
}
class B extends A{
    public int b = 1;

    @Override
    public void fuc() {
        System.out.println("B.fuc()" + " a="+a + " b=" +b);
    }
}
public class Test {
    public static void main(String[] args) {
        B b = new B();

    }
}
